import { Member } from './member';
import { X } from 'x-orm';

@X.Entity({
    primary : 'token_id',
})
export class MbUserToken{
    token_id;
    member_id;
    token;

    @X.OneToOne(MbUserToken,Member,{
        from : item => item.member_id,
        to : item => item.member_id
    })
    member : Member;
}

